package com.imooc;

import io.seata.spring.boot.autoconfigure.SeataAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author liansen
 * @create 02-24-14:56
 */

@EnableDiscoveryClient //开启服务注册与发现
@SpringBootApplication(exclude = {SeataAutoConfiguration.class})
@EnableFeignClients("com.imooc.feign")
@MapperScan(basePackages = "com.imooc.mapper")
public class WorkApplication {

    public static void main(String[] args) {
        SpringApplication.run(WorkApplication.class, args);
    }
}
